<?php

/**
 * 后台路由接口
 */
/*Route::group(['middleware'=>'checkIp'],function (){
    Route::group(['middleware'=>'checkRequestHead'],function () {*/


        //获取账号类型
        Route::get('/Common/getAccountType','CommonApi@getAccountType');

        Route::get('/Equipment/getSnInfoById','EquipmentApi@getSnInfoById');
        Route::post('/Equipment/updateSnType','EquipmentApi@updateSnType');
        Route::post('/Equipment/multipleUpdateSnType','EquipmentApi@multipleUpdateSnType');

        //应用白名单列表
        Route::get('/whiteAppList','WhiteAppApi@whiteAppList');
        //编号查询应用白名单
        Route::get('/whiteAppById','WhiteAppApi@whiteAppById');
        //添加应用白名单
        Route::post('/whiteAppAdd', 'WhiteAppApi@whiteAppAdd');
        //编辑应用白名单
        Route::post('/whiteAppEdit', 'WhiteAppApi@whiteAppEdit');
        //删除应用白名单
        Route::post('/whiteAppDelete', 'WhiteAppApi@whiteAppDelete');

        //管控策略获取时间管控
        Route::get('/timeControlList','StrategyApi@timeControlList');
        //管控策略获取影音娱乐管控设置
        Route::get('/otherSettingList','StrategyApi@otherSettingList');

        //清除缓存
        Route::post('/sn/cleanInstallAppCache', 'SnApi@cleanInstallAppCache');

        //调整套餐
        Route::post('/gankao/editCardInfo', 'GankaoApi@editCardInfo');
        //取消套餐
        Route::post('/gankao/cancelCardInfo', 'GankaoApi@cancelCardInfo');
        //升级学段
        Route::post('/gankao/upgrade', 'GankaoApi@upgrade');

        //账号中心
        //手机验证码登录
        Route::post('/accountCenter/codeLogin', 'AccountCenterApi@codeLogin');
        //发送手机验证码登录的验证码
        Route::post('/accountCenter/getLoginCode', 'AccountCenterApi@getLoginCode');

        //注册
        Route::post('/accountCenter/register', 'AccountCenterApi@register');
        //获取验证码
        Route::post('/accountCenter/getCode', 'AccountCenterApi@getCode');
        //登录
        Route::post('/accountCenter/login', 'AccountCenterApi@login');
        //找回密码
        Route::post('/accountCenter/retrievePassword', 'AccountCenterApi@retrievePassword');
        //注销登录
        Route::post('/accountCenter/loginOut', 'AccountCenterApi@loginOut');
        //获取用户信息
        Route::get('/accountCenter/queryAdminAll', 'AccountCenterApi@queryAdminAll');
        //获取个人信息
        Route::get('/accountCenter/queryPersonalInfo', 'AccountCenterApi@queryPersonalInfo');
        //修改个人信息
        Route::post('/accountCenter/editPersonalInfo', 'AccountCenterApi@editPersonalInfo');
        //上传头像
        Route::post('/accountCenter/uploadAvatar','AccountCenterApi@uploadAvatar');
        //启用或禁用用户
        Route::post('/accountCenter/disableAdmin', 'AccountCenterApi@disableAdmin');
        //审核用户信息
        Route::post('/accountCenter/examineAdmin', 'AccountCenterApi@examineAdmin');
        //获取权限设置
        Route::get('/accountCenter/queryGroup', 'AccountCenterApi@queryGroup');
        //编号获取权限信息
        Route::get('/accountCenter/queryIdGroup', 'AccountCenterApi@queryIdGroup');
        //编辑权限信息
        Route::post('/accountCenter/editGroup', 'AccountCenterApi@editGroup');
        //获取推送日志信息
        Route::get('/accountCenter/queryPushLog', 'AccountCenterApi@queryPushLog');
        //管理日志
        //获取管理日志信息
        Route::get('/accountCenter/queryAdminLog', 'AccountCenterApi@queryAdminLog');
        //老师账号信息
        //获取老师账号信息
        Route::get('/accountCenter/queryTeacherInfo', 'AccountCenterApi@queryTeacherInfo');
        //家长账号信息
        //获取家长账号信息
        Route::get('/accountCenter/queryParentInfo', 'AccountCenterApi@queryParentInfo');


        //增加首页banner图
        Route::post('/banner/addBanner','BannerApi@addBanner');
        //获取首页banner图
        Route::get('/banner/queryBanner','BannerApi@queryBanner');
        //编号获取首页banner图
        Route::get('/banner/queryIdBanner','BannerApi@queryIdBanner');
        //修改首页banner图
        Route::post('/banner/editBanner','BannerApi@editBanner');
        //删除首页banner图
        Route::post('/banner/deleteBanner','BannerApi@deleteBanner');

        //增加附件文件
        Route::post('/file/addFile','FileApi@addFile');
        //获取附件文件
        Route::get('/file/queryFile','FileApi@queryFile');
        //编号获取附件文件
        Route::get('/file/queryIdFile','FileApi@queryIdFile');
        //获取附件文件类型
        Route::get('/file/getFileType','FileApi@getFileType');
        //修改附件文件
        Route::post('/file/editFile','FileApi@editFile');
        //删除附件文件
        Route::post('/file/deleteFile','FileApi@deleteFile');
        //上传附件文件
        Route::post('/file/uploadFile','FileApi@uploadFile');

        //获取上传apk到oss所需信息(添加)
        Route::post('/getOssApkInfoAdd', 'AliossApi@getOssApkInfoAdd');        
        //获取上传apk到oss所需信息(编辑)
        Route::post('/getOssApkInfoEdit', 'AliossApi@getOssApkInfoEdit');
        //获取上传图片到oss所需信息
        Route::post('/getOssImgInfo', 'AliossApi@getOssImgInfo');

        //app应用信息
        //上传应用
        Route::post('/app/uploadApp', 'AppApi@uploadApp');
        //增加app信息
        Route::post('/app/addApp', 'AppApi@addApp');
        //删除app信息
        Route::post('/app/deleteApp', 'AppApi@deleteApp');
        //编号获取app信息
        Route::get('/app/queryIdApp', 'AppApi@queryIdApp');
        //编辑app信息
        Route::post('/app/editApp', 'AppApi@editApp');
        //获取管理员app信息
        Route::get('/app/queryAdminApp', 'AppApi@queryAdminApp');
        //获取老师app信息
        Route::get('/app/queryTeacherApp', 'AppApi@queryTeacherApp');
        //获取家长app信息
        Route::get('/app/queryParentApp', 'AppApi@queryParentApp');
        //获取年级分类名称
        Route::get('/app/getGradeName', 'AppApi@getGradeName');
        //获取批次名称
        Route::get('/app/queryBatchName', 'AppApi@queryBatchName');
        //获取班级名称
        Route::get('/app/queryGradeName', 'AppApi@queryGradeName');
        //上传预览图片
        Route::post('/app/uploadPreviewImg', 'AppApi@uploadPreviewImg');
        //获取科目名称
        Route::get('/app/querySubjectName', 'AppApi@querySubjectName');
        //获取管理员app列表
        Route::get('/app/queryAdminAppList', 'AppApi@queryAdminAppList');
        //获取编号管理员app列表
        Route::get('/app/queryIdAdminAppList', 'AppApi@queryIdAdminAppList');
        //应用市场自动安装
        Route::post('/app/installAdminApp', 'AppApi@installAdminApp');
        //增加系统应用
        Route::post('/app/addSysApp', 'AppApi@addSysApp');
        //获取系统应用
        Route::get('/app/querySysApp', 'AppApi@querySysApp');
        //编号获取系统应用
        Route::get('/app/queryIdSysApp', 'AppApi@queryIdSysApp');
        //修改系统应用
        Route::post('/app/editSysApp', 'AppApi@editSysApp');
        //删除系统应用
        Route::post('/app/deleteSysApp', 'AppApi@deleteSysApp');

        //增加应用分类
        Route::post('/maintain/addClassify', 'MaintainApi@addClassify');
        //获取应用分类信息
        Route::get('/maintain/queryClassify', 'MaintainApi@queryClassify');
        //编号获取应用分类信息
        Route::get('/maintain/queryIdClassify', 'MaintainApi@queryIdClassify');
        //删除应用分类信息
        Route::post('/maintain/deleteClassify', 'MaintainApi@deleteClassify');
        //编辑应用分类信息
        Route::post('/maintain/editClassify', 'MaintainApi@editClassify');

        //增加应用品牌信息
        Route::post('/maintain/addBrand', 'MaintainApi@addBrand');
        //获取应用品牌信息
        Route::get('/maintain/queryBrand', 'MaintainApi@queryBrand');
        //编号获取应用品牌信息
        Route::get('/maintain/queryIdBrand', 'MaintainApi@queryIdBrand');
        //删除应用品牌信息
        Route::post('/maintain/deleteBrand', 'MaintainApi@deleteBrand');
        //编辑应用品牌信息
        Route::post('/maintain/editBrand', 'MaintainApi@editBrand');

        //增加应用专题信息
        Route::post('/maintain/addTopic', 'MaintainApi@addTopic');
        //获取应用专题信息
        Route::get('/maintain/queryTopic', 'MaintainApi@queryTopic');
        //编号获取应用专题信息
        Route::get('/maintain/queryIdTopic', 'MaintainApi@queryIdTopic');
        //编辑应用专题信息
        Route::post('/maintain/editTopic', 'MaintainApi@editTopic');
        //删除应用专题信息
        Route::post('/maintain/deleteTopic', 'MaintainApi@deleteTopic');
        //上传应用分类、专题、品牌图片
        Route::post('/maintain/uploadMaintainImg', 'MaintainApi@uploadMaintainImg');


        //获取老师班级名称
        Route::get('/control/queryBatchName', 'ControlApi@queryBatchName');
        //获取家长sn码
        Route::get('/control/querySnName', 'ControlApi@querySnName');

        //增加老师浏览器上网管控
        Route::post('/control/addTeacherBrowser', 'ControlApi@addTeacherBrowser');
        //获取老师浏览器上网管控
        Route::get('/control/queryTeacherBrowser', 'ControlApi@queryTeacherBrowser');
        //编号获取老师浏览器上网管控
        Route::get('/control/queryIdTeacherBrowser', 'ControlApi@queryIdTeacherBrowser');
        //编辑老师浏览器上网管控
        Route::post('/control/editTeacherBrowser', 'ControlApi@editTeacherBrowser');
        //删除老师浏览器上网管控
        Route::post('/control/deleteTeacherBrowser', 'ControlApi@deleteTeacherBrowser');
        //增加家长浏览器上网管控
        Route::post('/control/addParentBrowser', 'ControlApi@addParentBrowser');
        //获取家长浏览器上网管控
        Route::get('/control/queryParentBrowser', 'ControlApi@queryParentBrowser');
        //编号获取家长浏览器上网管控
        Route::get('/control/queryIdParentBrowser', 'ControlApi@queryIdParentBrowser');
        //编辑家长浏览器上网管控
        Route::post('/control/editParentBrowser', 'ControlApi@editParentBrowser');
        //删除家长浏览器上网管控
        Route::post('/control/deleteParentBrowser', 'ControlApi@deleteParentBrowser');

        //增加老师第三方应用跳转
        Route::post('/control/addTeacherAppGround', 'ControlApi@addTeacherAppGround');
        //获取老师第三方应用跳转
        Route::get('/control/queryTeacherAppGround', 'ControlApi@queryTeacherAppGround');
        //编号获取老师第三方应用跳转
        Route::get('/control/queryIdTeacherAppGround', 'ControlApi@queryIdTeacherAppGround');
        //编辑老师第三方应用跳转
        Route::post('/control/editTeacherAppGround', 'ControlApi@editTeacherAppGround');
        //删除老师第三方应用跳转
        Route::post('/control/deleteTeacherAppGround', 'ControlApi@deleteTeacherAppGround');
        //增加家长第三方应用跳转
        Route::post('/control/addParentAppGround', 'ControlApi@addParentAppGround');
        //获取家长第三方应用跳转
        Route::get('/control/queryParentAppGround', 'ControlApi@queryParentAppGround');
        //编号获取家长第三方应用跳转
        Route::get('/control/queryIdParentAppGround', 'ControlApi@queryIdParentAppGround');
        //编辑家长第三方应用跳转
        Route::post('/control/editParentAppGround', 'ControlApi@editParentAppGround');
        //删除家长第三方应用跳转
        Route::post('/control/deleteParentAppGround', 'ControlApi@deleteParentAppGround');

        //获取老师应用自启、升级、联网
        Route::get('/control/queryTeacherAppStart', 'ControlApi@queryTeacherAppStart');
        //编辑老师应用自启、升级、联网
        Route::post('/control/editTeacherAppStart', 'ControlApi@editTeacherAppStart');
        //获取家长应用自启、升级、联网
        Route::get('/control/queryParentAppStart', 'ControlApi@queryParentAppStart');
        //编辑家长应用自启、升级、联网
        Route::post('/control/editParentAppStart', 'ControlApi@editParentAppStart');

        //获取老师应用内部网址
        Route::get('/control/queryTeacherAppInside', 'ControlApi@queryTeacherAppInside');
        //编号获取老师应用内部网址
        Route::get('/control/queryIdTeacherAppInside', 'ControlApi@queryIdTeacherAppInside');
        //编辑老师应用内部网址
        Route::post('/control/editTeacherAppInside', 'ControlApi@editTeacherAppInside');
        //获取家长应用内部网址
        Route::get('/control/queryParentAppInside', 'ControlApi@queryParentAppInside');
        //编号获取家长应用内部网址
        Route::get('/control/queryIdParentAppInside', 'ControlApi@queryIdParentAppInside');
        //编辑家长应用内部网址
        Route::post('/control/editParentAppInside', 'ControlApi@editParentAppInside');
        //获取包名
        Route::get('/control/queryPakName', 'ControlApi@queryPakName');

        //导入TF卡信息
        Route::post('/control/importTfMedia', 'ControlApi@importTfMedia');
        //增加TF卡信息
        Route::post('/control/addTfMedia', 'ControlApi@addTfMedia');
        //获取TF卡信息
        Route::get('/control/queryTfMedia', 'ControlApi@queryTfMedia');
        //编号获取TF卡信息
        Route::get('/control/queryIdTfMedia', 'ControlApi@queryIdTfMedia');
        //编辑TF卡信息
        Route::post('/control/editTfMedia', 'ControlApi@editTfMedia');
        //删除TF卡信息
        Route::post('/control/deleteTfMedia', 'ControlApi@deleteTfMedia');
        //类型获取Tf卡信息
        Route::get('/control/queryTypeTfMedia', 'ControlApi@queryTypeTfMedia');

        //增加老师系统其它管控
        Route::post('/control/addTeacherSetting','ControlApi@addTeacherSetting');
        //获取老师系统其它管控
        Route::get('/control/queryTeacherSetting','ControlApi@queryTeacherSetting');
        //编号获取老师系统其它管控
        Route::get('/control/queryIdTeacherSetting','ControlApi@queryIdTeacherSetting');
        //编辑老师系统其它管控
        Route::post('/control/editTeacherSetting','ControlApi@editTeacherSetting');
        //删除老师系统其它管控
        Route::post('/control/deleteTeacherSetting','ControlApi@deleteTeacherSetting');
        //增加家长系统其它管控
        Route::post('/control/addParentSetting','ControlApi@addParentSetting');
        //获取家长系统其它管控
        Route::get('/control/queryParentSetting','ControlApi@queryParentSetting');
        //编号获取家长系统其它管控
        Route::get('/control/queryIdParentSetting','ControlApi@queryIdParentSetting');
        //编辑家长系统其它管控
        Route::post('/control/editParentSetting','ControlApi@editParentSetting');
        //删除家长系统其它管控
        Route::post('/control/deleteParentSetting','ControlApi@deleteParentSetting');

        //获取老师PAD设备锁定信息
        Route::get('/pad/queryTeacherLocking','PADApi@queryTeacherLocking');
        //老师设备锁定或解锁
        Route::post('/pad/importTeacherLocking','PADApi@importTeacherLocking');
        //获取家长PAD设备锁定信息
        Route::get('/pad/queryParentLocking','PADApi@queryParentLocking');
        //家长设备锁定或解锁
        Route::post('/pad/importParentLocking','PADApi@importParentLocking');
        //老师设备重启或恢复出厂模式
        Route::post('/pad/importTeacherReset','PADApi@importTeacherReset');
        //获取老师远程重启和重置信息
        Route::get('/pad/queryTeacherReset','PADApi@queryTeacherReset');
        //家长设备重启或恢复出厂模式
        Route::post('/pad/importParentReset','PADApi@importParentReset');
        //获取家长远程重启和重置信息
        Route::get('/pad/queryParentReset','PADApi@queryParentReset');
        //管理员解除绑定信息
        Route::post('/pad/adminRelieveBindSn', 'PADApi@adminRelieveBindSn');


        //增加应用全局更新
        Route::post('/app/addAppUpdate', 'AppApi@addAppUpdate');
        //获取应用全局更新
        Route::get('/app/queryAppUpdate', 'AppApi@queryAppUpdate');
        //编号获取应用全局更新
        Route::get('/app/queryIdAppUpdate', 'AppApi@queryIdAppUpdate');
        //编辑应用全局更新
        Route::post('/app/updateAppUpdate', 'AppApi@updateAppUpdate');
        //删除应用全局更新
        Route::post('/app/deleteAppUpdate', 'AppApi@deleteAppUpdate');
        //包名获取安装的sn信息
        Route::get('/app/packageNameQuerySn', 'AppApi@packageNameQuerySn');

        //增加灰度测试
        Route::post('/app/addAppTest', 'AppApi@addAppTest');
        //获取灰度测试
        Route::get('/app/queryAppTest', 'AppApi@queryAppTest');
        //删除灰度测试
        Route::post('/app/deleteAppTest', 'AppApi@deleteAppTest');

        //上传pdf文件
        Route::post('/manual/uploadPdf','ManualApi@uploadPdf');
        //增加操作手册
        Route::post('/manual/addManual','ManualApi@addManual');
        //获取操作手册
        Route::get('/manual/queryManual','ManualApi@queryManual');
        //删除操作手册
        Route::post('/manual/deleteManual','ManualApi@deleteManual');
        //下载操作手册调用
        Route::post('/manual/downloadManual','ManualApi@downloadManual');

        //增加vip信息
        Route::post('/vip/addVip','VipApi@addVip');
        //获取VIP信息
        Route::get('/vip/queryVip','VipApi@queryVip');
        //编号获取VIP信息
        Route::get('/vip/queryIdVip','VipApi@queryIdVip');
        //编辑vip信息
        Route::post('/vip/updateVip','VipApi@updateVip');
        //删除vip信息
        Route::post('/vip/deleteVip','VipApi@deleteVip');

        //sn授权审核
        //获取授权信息
        Route::get('/accountCenter/queryEmpowerInfo', 'AccountCenterApi@queryEmpowerInfo');
        //是否确定授权
        Route::post('/accountCenter/empowerExamine', 'AccountCenterApi@empowerExamine');

        //sn信息
        //导入sn信息
        Route::post('/sn/importSn', 'SnApi@importSn');
        //添加sn信息
        Route::post('/sn/addAdminSn', 'SnApi@addAdminSn');
        //获取sn信息
        Route::get('/sn/queryAdminSn', 'SnApi@queryAdminSn');
        //删除sn信息
        Route::post('/sn/deleteAdminSn', 'SnApi@deleteAdminSn');
        //解除授权信息
        Route::post('/sn/onEmpower', 'SnApi@onEmpower');
        //解除绑定信息
        Route::post('/sn/onBindSn', 'SnApi@onBindSn');

        //更换班级
        Route::post('/sn/importUpdateSn', 'SnApi@importUpdateSn');
        //sn获取设备硬件信息
        Route::get('/sn/querySnHardware', 'SnApi@querySnHardware');
        //设备信息刷新
        Route::get('/sn/renovate', 'SnApi@renovate');
         //单个设备重启或恢复出厂设置
        Route::post('/sn/singleDeviceRestartOrRecovery', 'SnApi@singleDeviceRestartOrRecovery');
        //卸载应用
        Route::post('/sn/uninstallApp', 'SnApi@uninstallApp');
        //强制停用设备
        Route::post('/sn/forceStopApp', 'SnApi@forceStopApp');
        //设备截图
        Route::post('/sn/sendScreenshot', 'SnApi@sendScreenshot');
        //获取截图信息
        Route::get('/sn/queryScreenshot', 'SnApi@queryScreenshot');
        //清除截图信息
        Route::post('/sn/deleteScreenshot', 'SnApi@deleteScreenshot');
        //家长增加时间管控
        Route::post('/sn/addParentTimeControl', 'SnApi@addParentTimeControl');
        //老师增加时间管控
        Route::post('/sn/addTeacherTimeControl', 'SnApi@addTeacherTimeControl');
        //获取家长时间管控
        Route::get('/sn/queryParentTimeControl', 'SnApi@queryParentTimeControl');
        //获取老师时间管控
        Route::get('/sn/queryTeacherTimeControl', 'SnApi@queryTeacherTimeControl');
        //编号获取家长时间管控
        Route::get('/sn/queryIdParentTimeControl', 'SnApi@queryIdParentTimeControl');
        //编号获取老师时间管控
        Route::get('/sn/queryIdTeacherTimeControl', 'SnApi@queryIdTeacherTimeControl');
        //修改家长时间管控
        Route::post('/sn/updateParentTimeControl', 'SnApi@updateParentTimeControl');
        //修改老师时间管控
        Route::post('/sn/updateTeacherTimeControl', 'SnApi@updateTeacherTimeControl');
        //删除家长时间管控
        Route::post('/sn/deleteParentTimeControl', 'SnApi@deleteParentTimeControl');
        //删除老师时间管控
        Route::post('/sn/deleteTeacherTimeControl', 'SnApi@deleteTeacherTimeControl');

        //班级信息
        //获取班级信息
        Route::get('/sn/queryBatch', 'SnApi@queryBatch');
        //编号获取班级信息
        Route::get('/sn/queryIdBatch', 'SnApi@queryIdBatch');
        //编号获取班级列表
        Route::get('/sn/queryIdBatchList', 'SnApi@queryIdBatchList');
        //添加班级信息
        Route::post('/sn/addBatch', 'SnApi@addBatch');
        //编辑班级信息
        Route::post('/sn/editBatch', 'SnApi@editBatch');
        //删除班级信息
        Route::post('/sn/deleteBatch', 'SnApi@deleteBatch');
        //学员维护接口
        Route::post('/sn/importSnBatch', 'SnApi@importSnBatch');
        //编辑老师sn接口
        Route::post('/sn/editTeacherSn', 'SnApi@editTeacherSn');

        //数据统计
        //获取设备总数,激活总数,在线数量,解锁设备
        Route::get('/statistics/querySumSn','StatisticsApi@querySumSn');
        //应用上传数量统计
        Route::get('/statistics/appUploadStatistics','StatisticsApi@appUploadStatistics');
        //统计家长app七天使用时长
        Route::get('/statistics/queryAppOnlineTime','StatisticsApi@queryAppOnlineTime');
        //统计有效用户和黑洞用
        Route::get('/statistics/statisticsUser','StatisticsApi@statisticsUser');
        //累计注册用户和今日注册用户
        Route::get('/statistics/registerUser','StatisticsApi@registerUser');
        //累计访问量和今日访问量
        Route::get('/statistics/webVisitUser','StatisticsApi@webVisitUser');
        //统计当月使用的流量
        Route::get('/statistics/statisticsFlow','StatisticsApi@statisticsFlow');
        //获取流量统计信息
        Route::get('/statistics/queryStatistics','StatisticsApi@queryStatistics');
        //编号获取流量统计信息
        Route::get('/statistics/queryIdStatistics','StatisticsApi@queryIdStatistics');
        //编辑用户当月限制流量
        Route::post('/statistics/editStatistics','StatisticsApi@editStatistics');
  /*  });
});*/
